﻿using System.ComponentModel.DataAnnotations;

namespace BCDto.OA.Reimbursement
{
    /// <summary>
    /// 报销单信息
    /// </summary>
    public class ReimbursementRequestDto
    {
        /// <summary>
        /// 报销金额
        /// </summary>
        [Display(Name = "报销金额")]
        [Required(ErrorMessage = "{0}不能为空")]
        public decimal Amount { get; set; }
        /// <summary>
        /// 报销类别
        /// </summary>
        [Display(Name = "报销类别")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string Category { get; set; }
        /// <summary>
        /// 地点
        /// </summary>
        [Display(Name = "地点")]
        public string Address { get; set; }

        /// <summary>
        /// 费用明细说明
        /// </summary>
        [Display(Name = "费用明细说明")]
        public string Content { get; set; }

        /// <summary>
        /// 销售合同编号
        /// </summary>
        [Display(Name = "销售合同编号")]
        public string VehicleSaleContractNo { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        [Display(Name = "图片")]
        public string[] PictureFiles { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        [Display(Name = "附件")]
        public string[] RemarkFiles { get; set; }

    }
}
